package com.healthtop.common;

/**
 * *
 * Author: xioxiaobao on 2016/10/12.
 */
public interface Specification {

    enum OperateMode {

        CREATE("新增",0),

        UPDATE("修改",1),

        VIEW("查看",2),

        DELETE("删除",3);

        public final String name;

        public final int index;

        OperateMode(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum NavigationStatus {

        INSERT("新增",0),

        UPDATE("修改",1),

        LEAVE("删除",2);

        public final String name;

        public final int index;

        NavigationStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum SaltLength {

        ENCRYPT_SALT_LENGTH("密码盐长度", 6);

        public final String name;

        public final int index;

        SaltLength(String name, int index) {
            this.name = name;
            this.index = index;
        }
    }

    enum PersonnelStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        PersonnelStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum PersonPostStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        PersonPostStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum CourseStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        CourseStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum ClassRoomStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        ClassRoomStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum SemesterStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        SemesterStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum StudentStatus {

        NORMAL("正常",0),

        LEAVE("删除",1);

        public final String name;

        public final int index;

        StudentStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum StudentCardStatus {

        USED("有效",0),

        UN_USER("无效",1);

        public final String name;

        public final int index;

        StudentCardStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum CardStatus {

        USED("使用",0),

        UN_USER("未使用",1);

        public final String name;

        public final int index;

        CardStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum CourseCheckInStatus{
        UN_CHECKIN("未签到",0),

        CHECKIN("已签到",1),

        DROP("退课",2);

        public final String name;

        public final int index;

        CourseCheckInStatus(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum CourseCheckInType{
        HEADTEACHER("班主任",1),

        TEACHER("教师",2),

        STUDENT("学生",3);

        public final String name;

        public final int index;

        CourseCheckInType(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

    enum PersonnelCheckInType{
        CHECKIN("签到",1),
        CHECKOUT("签退",2);
        public final String name;

        public final int index;

        PersonnelCheckInType(String name,int index){
            this.name = name;
            this.index = index;
        }
    }

}
